﻿using System;
using System.Runtime.Serialization;

namespace SBPweb.PROvibe.Server.Framework.Actors.Communication
{

    [Serializable]
    [DataContract]
    public class KeepAliveContent : MessageContentBase
    {

        public KeepAliveContent()
        {
            UtcTimeStamp = DateTime.Now.ToFileTimeUtc();
        }

        [DataMember()]
        public long UtcTimeStamp
        {
            get;
            set;
        }

        public static MessageBody CreateMessageBody()
        {
            return new MessageBody(new KeepAliveContent());
        }

    }

}